from django.urls import re_path
from . import views
app_name = 'verifications'
urlpatterns = [
    # 图形验证码, 匹配 正则：字符串-，+代表匹配多个
    re_path('^image_codes/(?P<uuid>[\w-]+)/$', views.ImageCodeView.as_view()),
    # 短信验证码
    re_path('^sms_codes/(?P<mobile>1[3-9]\d{9})/$', views.SMSCodeView.as_view())

]
